
<el-menu
  default-active="2"
  class="el-menu-vertical-demo"
  background-color="#E9EEF3"
  unique-opened
  @open="handleOpen"
  style="z-index: 2"
  @close="handleClose">
  <el-menu-item index="/admin">
    <i class="el-icon-location"></i>
    <span slot="title"><a href="/">首页</a></span>
  </el-menu-item>
  <el-submenu index="/playerList">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span><a href="/playerList">运动员</a></span>
    </template>
    <el-menu-item index="/importPlayer">
      <i class="el-icon-upload2"></i>
      <span slot="title"><a href="/importPlayer">导入</a></span>
    </el-menu-item>
  </el-submenu>
  <el-submenu index="/eventList">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span><a href="/eventList">运动项目</a></span>
    </template>
    <el-menu-item index="/newEvent">
      <i class="el-icon-plus"></i>
      <span slot="title"><a href="/newEvent">新建</a></span>
    </el-menu-item>
  </el-submenu>
  <el-submenu index="/judgeList">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span><a href="/judgeList">裁判</a></span>
    </template>
    <el-menu-item index="/importJudge">
      <i class="el-icon-upload2"></i>
      <span slot="title"><a href="/importJudge">导入</a></span>
    </el-menu-item>
  </el-submenu>
  <el-submenu index="/arrangeList">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span><a href="/arrangeList">比赛安排</a></span>
    </template>
    <el-menu-item index="/newGame">
      <i class="el-icon-plus"></i>
      <span slot="title"><a href="/newGame">新建</a></span>
    </el-menu-item>
  </el-submenu>
  <el-submenu index="/scoreList">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span><a href="/scoreList">成绩</a></span>
    </template>
    <el-menu-item index="/importScore">
      <i class="el-icon-plus"></i>
      <span slot="title"><a href="/importScore">导入</a></span>
    </el-menu-item>
  </el-submenu>
  <el-menu-item index="/statistic">
    <i class="el-icon-printer"></i>
    <span slot="title"><a href="/statistic">结果统计</a></span>
  </el-menu-item>
</el-menu>

<div style="position: fixed; left: 40px; bottom: 80px; z-index: 1">
  <el-button type="primary" plain icon="el-icon-upload2">
    <a href="#app">返回顶部</a>
  </el-button>
</div>
